package com.karry.yl.service.healthdata.impl;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.karry.commons.base.impl.SuperServiceImpl;
import com.karry.yl.dao.healthdata.HealthDataItemMapper;
import com.karry.yl.domain.healthdata.HealthDataItem;
import com.karry.yl.service.healthdata.HealthDataItemService;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class HealthDataItemServiceImpl extends SuperServiceImpl<HealthDataItemMapper,HealthDataItem> implements HealthDataItemService {
    @Override
    public Page<HealthDataItem> selectItemPage(Page<HealthDataItem> page, Wrapper<HealthDataItem> var2) {
        return page.setRecords(baseMapper.selectItemList(page, var2));
    }

    @Override
    public List<HealthDataItem> selectItemList() {
        return baseMapper.selectItemList();
    }
}
